package com.yjc.drygoods.ware.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 陈年老货表
 *
 * @author yjc
 * @email yjc19979401754@126.com
 * @date 2022-10-26 15:02:13
 */
@Data
@TableName("wms_old_timers")
public class OldTimersEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    private Long id;
    /**
     * 干货id
     */
    private Long spuId;
    /**
     * 干货名称
     */
    private String spuName;
    /**
     * 干货库存数
     */
    private Double spuNum;
    /**
     * 积压原因
     */
    private Integer cause;
    /**
     * 供货商id
     */
    private Long supplierId;
    /**
     * 供货商名称
     */
    private String supplierName;
    /**
     * 陈年老货处理状态
     */
    private Integer status;
    /**
     * 干货批次
     */
    private Integer batch;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

}
